News All Tests
Current file: /home/estudydev/workspace/MSP09/web/news/tests/interface.resourcevisitor.inc.php
Legend: executed not executed dead code

  Coverage
  Classes Methods Lines
Total
100.00 %100.00%
100.00% 0 / 0
100.00 %100.00%
100.00% 0 / 0
71.43 %71.43%
71.43% 5 / 7
 


       1                 : <?php                                                                                     
       2                 : /*--------------------------------------------------------------------------+             
       3                 : This file is part of eStudy.                                                              
       4                 : ressourcen/classes/archiver/class.resourcevistitor.inc.php                                
       5                 : - Module group: File Manager                                                              
       6                 : - Description:  Interface "ResourceVistitor"                                              
       7                 : - Version:      $Id: interface.resourcevisitor.inc.php 2348 2009-06-04 13:29:47Z commana $
       8                 : - Author(s):    Bjoern Kasteleiner <bjoern.kasteleiner@mni.fh-giessen.de>                 
       9                 : +---------------------------------------------------------------------------+             
      10                 : This program is free software; you can redistribute it and/or                             
      11                 : modify it under the terms of the GNU General Public License                               
      12                 : as published by the Free Software Foundation; either version 2                            
      13                 : of the License, or any later version.                                                     
      14                 : +---------------------------------------------------------------------------+             
      15                 : This program is distributed in the hope that it will be useful,                           
      16                 : but WITHOUT ANY WARRANTY; without even the implied warranty of                            
      17                 : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                             
      18                 : GNU General Public License for more details.                                              
      19                 : You should have received a copy of the GNU General Public License                         
      20                 : along with this program; if not, write to the Free Software                               
      21                 : Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.               
      22                 : +--------------------------------------------------------------------------*/             
      23                 :                                                                                           
      24               1 : if ( !defined("PATH_TO_ROOT") ) {                                                         
      25               0 :     define( "PATH_TO_ROOT", "../../../" );                                                
      26               0 : }                                                                                         
      27                 :                                                                                           
      28               1 : require_once ("class.resource.inc.php");                                                  
      29               1 : require_once ("class.file.inc.php");                                                      
      30               1 : require_once ("class.folder.inc.php");                                                    
      31                 :                                                                                           
      32                 : /**                                                                                       
      33                 :  * Visitor interface to move through Resource-Tree                                        
      34                 :  *                                                                                        
      35                 :  * @author Bjoern Kasteleiner <bjoern.kasteleiner@mni.fh-giessen.de>                      
      36                 :  * @version $Id: interface.resourcevisitor.inc.php 2348 2009-06-04 13:29:47Z commana $    
      37                 :  * @see ZipVisitor                                                                        
      38                 :  */                                                                                       
      39               1 : interface ResourceVisitor {                                                               
      40                 :     public function __construct($archiver, $recursion);                                   
      41                 :     public function setRecursion($recursion);                                             
      42                 :     public function getRecursion();                                                       
      43                 :     public function setArchiver($archiver);                                               
      44                 :     public function getArchiver();                                                        
      45                 :     public function visit(Resource $resource, $parentPath = "");                          
      46                 : }                                                                                         
      47                 :                                                                                           

Generated by PHPUnit 3.2.21 and Xdebug 2.0.4 at Sat Nov 7 22:04:08 CET 2009.